package com.xxx.mall.mapper;

import com.xxx.mall.model.AttachFileGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxx.mall.vo.AttachFileGroupVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 邢晨旭
 * @since 2023-11-20
 */
public interface AttachFileGroupMapper extends BaseMapper<AttachFileGroup> {

    /**
     * 查询列表
     * @param tenantId
     * @return
     */
    List<AttachFileGroupVO> queryList(Long tenantId);

    /**
     * 保存分组
     * @param attachFileGroupVO
     */
    void save(AttachFileGroupVO attachFileGroupVO);

    /**
     * 更新分组
     * @param attachFileGroupVO
     */
    void updateGroup(AttachFileGroupVO attachFileGroupVO);

    /**
     * 删除分组
     * @param attachFileGroupId
     */
    void removeById(Long attachFileGroupId);
}
